package top.wettis.chat.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 目标
 * </p>
 *
 * @author wettis
 * @since 2023-04-13
 */
@Getter
@Setter
@TableName("objectives")
public class Objectives implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "task_id", type = IdType.AUTO)
    private Integer taskId;

    @TableField("user_id")
    private Integer userId;

    @TableField("week")
    private String week;

    @TableField("content")
    private String content;

    @TableField("level")
    private Integer level;

    @TableField("is_finished")
    private Boolean finished;

    @TableField("is_del")
    @TableLogic
    private Integer del;

    @TableField("orders")
    private Integer orders;
}
